package com.cuhk.gulimall.search.constant;

public class EsConstants {

    public static final String PRODUCT_INDEX = "gulimall_product";
    public static final String PRODUCT_SKU_TITLE = "skuTitle";
    public static final String PRODUCT_CATELOG_ID = "catelogId";
    public static final String PRODUCT_CATELOG_NAME = "catelogName";
    public static final String PRODUCT_BRAND_ID = "brandId";
    public static final String PRODUCT_HAS_STOCK = "hasStock";
    public static final String PRODUCT_SKU_PRICE = "skuPrice";
    public static final String PRODUCT_ATTR_NESTED_PATH = "attrs";
    public static final String PRODUCT_ATTR_ID = "attrs.attrId";
    public static final String PRODUCT_ATTR_VALUE = "attrs.attrValue";
    public static final String PRODUCT_ATTR_NAME = "attrs.attrName";
    public static final String PRODUCT_BRAND_NAME = "brandName";
    public static final String PRODUCT_BRAND_IMG = "brandImg";

    public static final String PRODUCT_BRAND_AGG = "brand_agg";
    public static final String PRODUCT_BRAND_NAME_AGG = "brand_name_agg";
    public static final String PRODUCT_BRAND_IMG_AGG = "brand_img_agg";

    public static final String PRODUCT_CATELOG_AGG = "catelog_agg";
    public static final String PRODUCT_CATELOG_NAME_AGG = "catelog_name_agg";

    public static final String PRODUCT_ATTR_AGG = "attr_agg";
    public static final String PRODUCT_ATTR_ID_AGG = "attr_id_agg";
    public static final String PRODUCT_ATTR_VALUE_AGG = "attr_value_agg";
    public static final String PRODUCT_ATTR_NAME_AGG = "attr_name_agg";


    public static final Integer PRODUCT_PAGE_SIZE = 12;

    public static final String PRODUCT_KEYWORD_TARGET = "skuTitle";
}
